import dayjs from "dayjs";
import _ from "lodash";

export const date = (val, formatter = "YYYY-MM-DD") => dayjs(val, formatter);

export const getRoomNo = item =>
  _.get(item, "enterpriseIncubatorVO.enterpriseIncubatorList[0].room");
